package com.kws.payment.service;

import com.google.gson.JsonObject;
import com.kws.common.core.domain.R;
import com.kws.payment.dao.RefundUnionPayRq;
import com.kws.payment.dao.UnionPayResultNotificationRq;
import com.kws.payment.dao.UnionPayRq;

public interface UnionPayService {
    R aliPayCreateOrder(UnionPayRq rq) throws Exception;

    R weixinPayCreateOrder(UnionPayRq rq);

    R unionPayCreateOrder(UnionPayRq rq);

    R refundOrder(RefundUnionPayRq rq) throws Exception;

    R cancelOrder(UnionPayRq rq) throws Exception;

    JsonObject unionPayResultNotification(UnionPayResultNotificationRq rq);

    JsonObject refundResultNotification(UnionPayResultNotificationRq rq);
}
